<?PHP

$community=new community;
$community->get_piece();
$community->get_galleries();
$community->get_videos();
$community->get_children();
$community->get_ekek();
$community->get_shows();
$poll = $community->get_poll();
$poll_answers = $community->get_poll_answers($poll['id']);
$votes = $community->get_poll_results($poll['id']);

//---------------------------------------------------------------------

$todayshow = $community->get_todays_show();
$latest_video = $community->get_latest_video($todayshow);

$content_tag = "c-box-".$conf->qm[1];
$posts = $community->get_posts();
$category_items=$community->items;


//make condition for other communities
$count = (int)$conf->a['headline-count-digradio'];
if($conf->qm[1]==18)
	{
		$h1 = $community->get_h1($conf->qm[1],$count);
		if(!empty($_SESSION['user_level']))
		{		
			$voted = $community->check_voted($_SESSION['user_id'],$poll['id']);
		}
			$jocks=$community->children;
			$latest_jock=current($community->children);
			$ekek=$community->ekek;
			$trivia = $community->get_trivia();
	}
else
	$h1 = array_slice($category_items,0,6);	


?>
